package com.DBScan.Action;

import org.apache.struts.action.ActionForward;

import com.DBScan.biz.Homebiz;

import base.tools.BaseDispatchAction;
import base.tools.Scan;
	public class HomeAction extends BaseDispatchAction {
		Homebiz biz=new Homebiz();
		public ActionForward home(Scan scan) {
			//测试用
			scan.setAttribute("list", biz.home(scan));
			if(!scan.getParameter("id").equals("")){
				String data=scan.getParameter("id");
				scan.debug(data);
				System.out.println(scan.getParameter("id").toString());
			}
			scan.setAttribute("message", "成功");
			return scan.findForward("/index.jsp",false);
		}
	}
